package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication
@MapperScan(basePackages = "com.dao")
@EnableRedisHttpSession //将整个应用中使用session的数据全部交给redis管理
public class Springboot_RedisApplication {
    public static void main(String[] args) {
        SpringApplication.run(Springboot_RedisApplication.class,args);
    }
}
